<%if(user){%>
hello <%=user.name%>
<%}else{%>
hello guest
<%}%>